package com.zr.service;

import net.sf.json.JSONObject;

public interface FindsorceServicehh {
	//分页显示成绩
	public  JSONObject findscores(String cname ,int page, int rows);
	//修改成绩请求
    public boolean updescore(int sid,String tname,String score,String cname,String nr,String zt,String sj);
    //成绩录入
    public boolean addscore(int sid,String cname,String score);
	//平均分



	public String avgcore(String cname);
	//及格率
   public String passcore(String cname);
   //查看单个学生成绩
   public String findygscorebyid(int sid,String sname,String cname );

   //根据tid查找教师姓名
   public String findTnameByTid(int tid);

}
